import request from '@/utils/request'

export function getAccountList(query) {
  return request({
    url: '/chinactp/admin/account/getAccountList',
    method: 'post',
    data: query
  })
}

export function getAccountReportList(query) {
  return request({
    url: '/chinactp/admin/account/getAccountReportList',
    method: 'post',
    data: query
  })
}

export function saveAccount(query) {
  return request({
    url: '/chinactp/admin/account/save',
    method: 'post',
    data: query
  })
}

export function getAccountDetail(query) {
  return request({
    url: '/chinactp/admin/account/getAccountDetail',
    method: 'post',
    data: query
  })
}